ockam_node_attribute
Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.
This crate provides the #[node]
attribute proc_macro. This macro transforms
an async input main function into a regular output main function that sets up
an ockam node and executes the body of the input function inside the node.
The main Ockam crate re-exports this macro and it is
intended to be used as #[ockam::node]
, see Ockam
crate.
Usage
Add this to your Cargo.toml
:
[dependencies]
ockam_node_attribute = "0.26.0"
License
This code is licensed under the terms of the Apache License 2.0.